﻿


using System;
using System.Text;
using System.Collections;
using System.Xml;
using System.Data;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Resources;
using System.Reflection;
using System.Globalization;
using System.Threading;

using Telerik.WebControls;
using UFSoft.UBF.UI.WebControls;
using UFSoft.UBF.UI.WebControls.InterActionComponenet;
using UFSoft.UBF.Util.Log;
using UFSoft.UBF.Util.Context;

//using MagicAjax.UI.Controls;
using UFSoft.UBF.Report.UI.ReportView.Web;
using UFSoft.UBF.UI.WebControlAdapter;
using UFSoft.UBF.UI.FormProcess;
using UFSoft.UBF.UI.IView;
using UFSoft.UBF.UI.Engine;
using UFSoft.UBF.UI.Engine.Builder;
using UFSoft.UBF.UI.Engine.Authorization;
using UFSoft.UBF.UI.MD.Runtime;
using UFSoft.UBF.UI.ActionProcess;
using UFSoft.UBF.UI.ControlModel;
using UFSoft.UBF.UI.Controls;
using UFSoft.UBF.UI.WebControls.Association;
using UFSoft.UBF.UI.WebControls.ClientCallBack;
using System.Web.UI;
using UFSoft.UBF.UI.UIFormPersonalization;
using System.Collections.Specialized;


/***********************************************************************************************
 * Form ID:098c3002-6758-4af9-8cac-95872ea60a8a 
 * Form Name:DocTypeUIForm
 * UIFactory Auto Generator
 ***********************************************************************************************/
namespace UFIDA.U9.Cust.U9Demo.DeliverUI
{
	[FormRegister("UFIDA.U9.Cust.U9Demo.DeliverUI","UFIDA.U9.Cust.U9Demo.DeliverUI.DocTypeUIFormWebPart", "UFIDA.U9.Cust.U9Demo.DeliverUI.WebPart", "098c3002-6758-4af9-8cac-95872ea60a8a","WebPart", "True", 992, 504)] 
	///insert into aspnet_Parts (SysVersion, Path, ClassName, [Assembly], FormId) values (0, 'UFIDA.U9.Cust.U9Demo.DeliverUI', 'UFIDA.U9.Cust.U9Demo.DeliverUI.DocTypeUIFormWebPart', 'UFIDA.U9.Cust.U9Demo.DeliverUI.WebPart', '098c3002-6758-4af9-8cac-95872ea60a8a')
	///<siteMapNode url="~/erp/simple.aspx?lnk=098c3002-6758-4af9-8cac-95872ea60a8a" title="DocTypeUIForm"/>
    public partial class DocTypeUIFormWebPart : UFSoft.UBF.UI.FormProcess.BaseWebForm
    {
		#region Page Controller/Code Behind
        private static readonly ILogger logger = LoggerManager.GetLogger(typeof(DocTypeUIFormWebPart));
        private string assemblyName = System.Reflection.Assembly.GetExecutingAssembly().FullName;
        //private string displayNamePostfix = "displayName";

		#region 强类型化基类属性.
		public new DocTypeUIModelAction Action
		{
			get { return (DocTypeUIModelAction)base.Action; }
			set { base.Action = value; }
		}
		DocTypeUIModelModel _uimodel=null;
		public new DocTypeUIModelModel Model
		{
			get 
			{
			     if(_uimodel == null){
			          _uimodel = new DocTypeUIModelModel();
			     }
			     return _uimodel; 
			}
			set { _uimodel = value; }
		}
        protected override IUIModel UIModel{
            get{
                return this.Model;
            }
            set{
                this.Model = value as DocTypeUIModelModel;
            }
        }
		#endregion 
		public FormAdjust adjust;
        #region variable declaration
        IUFToolbar Toolbar2;
        IUFButton BtnSave;
        IUFButton BtnCancel;
        IUFButton BtnAdd;
        IUFButton BtnDelete;
        IUFSeparator Separator0;
        IUFButton BtnCopy;
        IUFSeparator Separator1;
        IUFButton BtnFind;
        IUFButton BtnSubmit;
        IUFButton BtnApprove;
        IUFButton BtnUndoApprove;
        IUFSeparator Separator2;
        IUFButton BtnList;
        IUFSeparator Separator3;
        IUFButton BtnFirstPage;
        IUFButton BtnPrevPage;
        IUFButton BtnNextPage;
        IUFButton BtnLastPage;
        IUFSeparator Separator4;
        IUFButton BtnAttachment;
        IUFButton BtnFlow;
        IUFSeparator Separator5;
        IUFButton BtnOutput;
        IUFButton BtnPrint;
        IUFCard Card0;
        IUFButton BtnOk;
        IUFButton BtnClose;
        IUFCard Card2;
        IUFLabel lblID49;
        IUFFldNumberControl ID49;
        IUFLabel lblSysVersion187;
        IUFFldNumberControl SysVersion187;
        IUFLine Line0;
        IUFLabel lblCode47;
        IUFFldTextBox Code47;
        IUFLabel lblName85;
        IUFFldTextBox Name85;
        IUFLabel lblDescription97;
        IUFFldTextBox Description97;
        IUFLine Line1;
        IUFLabel lblBizType124;
        IUFFldDropDownList BizType124;
        IUFLabel lblDocHeaderSequenceStyle115;
        IUFFldDropDownList DocHeaderSequenceStyle115;
        IUFLabel lblDocHeaderSequence94;
        IUFFldReference DocHeaderSequence94;
        IUFLine Line2;
        IUFLabel lblIsCreatedByPush49;
        IUFFldCheckBox IsCreatedByPush49;
        IUFLabel lblConfirmType160;
        IUFFldDropDownList ConfirmType160;
        IUFLabel lblApproveType113;
        IUFFldDropDownList ApproveType113;
        IUFLine Line3;
        IUFLabel lblEffective_IsEffective136;
        IUFFldCheckBox Effective_IsEffective136;
        IUFLabel lblEffective_EffectiveDate143;
        IUFFldDatePicker Effective_EffectiveDate143;
        IUFLabel lblEffective_DisableDate201;
        IUFFldDatePicker Effective_DisableDate201;
		UpdatePanel updatePanel;
		HiddenField wpFindID;
		IUFContainer topLevelPanel;     
        IUFSeparator SeparatorInFavorites;
        IUFButton BtnDefaultValues;
        #endregion
        
        #region constructor
        public DocTypeUIFormWebPart()
        {
            FormID = "098c3002-6758-4af9-8cac-95872ea60a8a";
            IsAutoSize = bool.Parse("True");
        }
        #endregion


	
            
	//获取档案版型结果: 

        #region eventBind and databind
        private void EventBind()
        {
			//事件绑定模板
				//Button控件事件
			this.BtnSave.Click += new EventHandler(BtnSave_Click);		
						
				//Button控件事件
			this.BtnCancel.Click += new EventHandler(BtnCancel_Click);		
						
				//Button控件事件
			this.BtnAdd.Click += new EventHandler(BtnAdd_Click);		
						
				//Button控件事件
			this.BtnDelete.Click += new EventHandler(BtnDelete_Click);		
						
				//Button控件事件
			this.BtnCopy.Click += new EventHandler(BtnCopy_Click);		
						
				//Button控件事件
			this.BtnFind.Click += new EventHandler(BtnFind_Click);		
						
				//Button控件事件
			this.BtnSubmit.Click += new EventHandler(BtnSubmit_Click);		
						
				//Button控件事件
			this.BtnApprove.Click += new EventHandler(BtnApprove_Click);		
						
				//Button控件事件
			this.BtnList.Click += new EventHandler(BtnList_Click);		
						
				//Button控件事件
			this.BtnFirstPage.Click += new EventHandler(BtnFirstPage_Click);		
						
				//Button控件事件
			this.BtnPrevPage.Click += new EventHandler(BtnPrevPage_Click);		
						
				//Button控件事件
			this.BtnNextPage.Click += new EventHandler(BtnNextPage_Click);		
						
				//Button控件事件
			this.BtnLastPage.Click += new EventHandler(BtnLastPage_Click);		
						
				//Button控件事件
			this.BtnAttachment.Click += new EventHandler(BtnAttachment_Click);		
						
				//Button控件事件
			this.BtnFlow.Click += new EventHandler(BtnFlow_Click);		
						
				//Button控件事件
			this.BtnOutput.Click += new EventHandler(BtnOutput_Click);		
						
				//Button控件事件
			this.BtnPrint.Click += new EventHandler(BtnPrint_Click);		
						
				//Button控件事件
			this.BtnOk.Click += new EventHandler(BtnOk_Click);		
						
				//Button控件事件
			this.BtnClose.Click += new EventHandler(BtnClose_Click);		
						

	
            AfterEventBind();
        }
        #endregion            
        
		#region override method
		protected override void OnLoad(EventArgs e)
		{
			base.OnLoad2(e);
		}
		protected override void OnLoadDataDo(EventArgs e)
		{
		    adjust.ProcessAdjustBeforeOnLoad(this);
			if (UIEngineHelper.IsDataBind(PageStatus, this))
			{
				if(this.Model==null){				        
					this.Model = new DocTypeUIModelModel();
				}
				OnLoadConsumer(new InParameterModel[]{new InParameterModel("DocType"),},new InParameterModel[]{new InParameterModel("DocType","@ID","ID"),});
				OnLoadData(this);
				this.IsDataBinding = true ; //加载完数据要绑定一次.目前加这.
			}
			else
			{
				//去除.已经移入到OnInit()中.
				//this.Model = (DocTypeUIModelModel)this.CurrentState[this.TaskId.ToString()];
			}
			adjust.ProcessAdjustAfterOnLoadData(this);
		            AfterOnLoad();
            
            adjust.ProcessAdjustAfterOnLoad(this);
		}
		protected override void OnPreRender(EventArgs e)
		{
			base.OnPreRender2(e);
		}
        protected override void OnPreRenderDo(EventArgs e)
        {
            adjust.ProcessAdjustBeforeOnPreRender(this);
			base.OnPreRender(e);
    		if(this.Consumer.Count > 0 && this.IsConsuming)
			{
				OnPreRenderConsumer(new InParameterModel[]{new InParameterModel("DocType"),},new InParameterModel[]{new InParameterModel("DocType","@ID","ID"),});
				OnLoadData(this);//对吗？
			}
			this.CurrentState[this.TaskId.ToString()] = this.Model;
			RegisterClearWebPartPadding();
            UFIDA.U9.UI.PDHelper.FormAuthorityHelper.SetWebPartAuthorization(this);
            
			if (IsDataBinding) //2006-9-7 可由开发人员控制
			{
				BeforeUIModelBinding();
				//BtnFind对应隐藏域的数据传递。:True
				UFIDA.U9.UI.PDHelper.CommonReferenceHelper.BindingBtnFindParam(this);
								if(!Page.IsPostBack)
				{
					EnumTypeBinding.BindEnumControls(this);
				}
				UFIDA.U9.UI.Commands.CommandHelper.BindFlexData(this);
				adjust.ProcessAdjustBeforeDataBinding(this);
				if (this.IsOnlyDataBinding)
				{
					this.DataBinding();
				}
				adjust.ProcessAdjustAfterDataBinding(this);

				AfterUIModelBinding();
			}
			adjust.ProcessAdjustAfterOnPreRender(this);
        }
		protected override void OnInit(EventArgs e)
		{
			base.OnInit2(e);
		}
		protected override void OnInitDo(EventArgs e)
		{			 
			this.Page.InitComplete += new EventHandler(Page_InitComplete);
			WebPartBuilder.InitWebPart(this);
            this.Action = new DocTypeUIModelAction(this);
            adjust = new FormAdjust();
		    CreateFormChildControls();
		}
        void Page_InitComplete(object sender, EventArgs e)
        {

            adjust.ProcessInit(this);
        }
        #endregion

      
        
        #endregion

	
		/// <summary>
        /// WebPart View
        /// </summary>
        #region view Create Contorls
        private void CreateFormChildControls()
        {
            IUFContainer _panel = UIControlBuilder.BuildTopLevelContainer(this,"DocTypeUIForm",true,992,504);
            CommonBuilder.ContainerGridLayoutPropBuilder(_panel, 1, 3, 0, 10, 0, 0, 0, 5);
			InitViewBindingContainer(this, _panel,  null, "", "", null, 1, "");
			UIControlBuilder.BuildContainerGridLayout(_panel, 10,new GridColumnDef[]{new GridColumnDef(992,bool.Parse("False")),},new GridRowDef[]{new GridRowDef(28,bool.Parse("True")),new GridRowDef(421,bool.Parse("False")),new GridRowDef(25,bool.Parse("True")),});
            //???还有用么?
            topLevelPanel = _panel;    
            
            UIControlBuilder.BuildCommonControls(this,ref updatePanel,ref wpFindID);
            





	
			_BuilderControl_Toolbar2(_panel);

		
			UIControlBuilder.BuilderUFControl(this.Toolbar2, "1");		


	
			_BuilderControl_Card0(_panel);

		
			UIControlBuilder.BuilderUFControl(this.Card0, "3");		


	
			_BuilderControl_Card2(_panel);

		
			UIControlBuilder.BuilderUFControl(this.Card2, "2");		



			
     
			
			
            EventBind();
            AfterCreateChildControls();
            
        }        







				        
        private void _BuilderControl_Toolbar2(IUFContainer container)
        {
            IUFToolbar _Toolbar = UIControlBuilder.BuilderToolBarControl(container,"Toolbar2",true, true, "1",992, 28, 0, 0, 1, 1,"100");
            this.Toolbar2 = _Toolbar;
            
            ///foreach Toolbar下的所有控件，增加到此容器
                            this.BtnSave = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnSave", "True", "True", 35, 28,"1", "",true,false,"8288c5a3-3b19-48d3-b139-f7018d2782ee","8288c5a3-3b19-48d3-b139-f7018d2782ee","b7120b82-cb28-4f70-a23a-1a606122a1e1");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnSave);
            this.BtnSave.UIModel = this.Model.ElementID;
            this.BtnSave.Action = "SaveClick";
	                            this.BtnCancel = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnCancel", "True", "True", 35, 28,"2", "",true,false,"f35cb480-9e8f-4689-aaac-3e9fc9a0c65e","f35cb480-9e8f-4689-aaac-3e9fc9a0c65e","e951b598-271f-4d14-9fec-cd7d3e67f5f5");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnCancel);
            this.BtnCancel.UIModel = this.Model.ElementID;
            this.BtnCancel.Action = "CancelClick";
	                            this.BtnAdd = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnAdd", "True", "True", 35, 28,"3", "",true,false,"19478b02-d2a9-4d7e-b7af-00070c61ff2d","19478b02-d2a9-4d7e-b7af-00070c61ff2d","2b119437-13a1-4e97-ad56-d09ded8bda42");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnAdd);
            this.BtnAdd.UIModel = this.Model.ElementID;
            this.BtnAdd.Action = "NewClick";
	                            this.BtnDelete = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnDelete", "True", "True", 35, 28,"4", "",true,false,"0467218f-229b-4954-b2d4-3c5976467f76","0467218f-229b-4954-b2d4-3c5976467f76","4dba3ed4-3bb5-4fed-a58f-640f07ffe7b9");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnDelete);
            this.BtnDelete.UIModel = this.Model.ElementID;
            this.BtnDelete.Action = "DeleteClick";
	                            _Toolbar.Controls.Add(new UFWebToolbarSeparatorAdapter());
			                            this.BtnCopy = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnCopy", "True", "True", 35, 28,"6", "",true,false,"be9f8d20-e484-464b-9818-a2c1b599b967","be9f8d20-e484-464b-9818-a2c1b599b967","8f20f083-5846-43c2-8d34-a7bab24ba158");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnCopy);
            this.BtnCopy.UIModel = this.Model.ElementID;
            this.BtnCopy.Action = "CopyClick";
	                            _Toolbar.Controls.Add(new UFWebToolbarSeparatorAdapter());
			                            this.BtnFind = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnFind", "True", "True", 35, 28,"12", "",true,false,"27621430-7bc7-4c0e-979e-f0108439d13e","27621430-7bc7-4c0e-979e-f0108439d13e","8601970a-4da7-401e-82e1-ea735d63c9b2");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnFind);
            this.BtnFind.UIModel = this.Model.ElementID;
            this.BtnFind.Action = "FindClick";
	                            this.BtnSubmit = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnSubmit", "True", "False", 35, 28,"8", "",true,false,"c42c0f21-2fd7-49b2-ac54-62f811747b18","c42c0f21-2fd7-49b2-ac54-62f811747b18","70260c0e-810c-4c97-846d-7c7eaca1790f");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnSubmit);
            this.BtnSubmit.UIModel = this.Model.ElementID;
            this.BtnSubmit.Action = "SubmitClick";
	                            this.BtnApprove = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnApprove", "True", "False", 35, 28,"9", "",true,false,"eb678a04-c7e1-44f1-b175-8f90f9903862","eb678a04-c7e1-44f1-b175-8f90f9903862","c9ec0b1c-b592-49a2-8b30-07eb15106edc");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnApprove);
            this.BtnApprove.UIModel = this.Model.ElementID;
            this.BtnApprove.Action = "ApproveClick";
	                            this.BtnUndoApprove = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnUndoApprove", "True", "False", 35, 28,"10", "",true,false,"ae796775-bce3-4aed-89a9-20eaa4648a67","ae796775-bce3-4aed-89a9-20eaa4648a67","18fe33d9-e932-4d9a-b5fb-22e7788d0d07");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnUndoApprove);
            this.BtnUndoApprove.UIModel = this.Model.ElementID;
            this.BtnUndoApprove.Action = "";
	                            _Toolbar.Controls.Add(new UFWebToolbarSeparatorAdapter());
			                            this.BtnList = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnList", "True", "False", 35, 28,"13", "",true,false,"c639596b-5a8c-4fc1-88bb-a3d670cda992","c639596b-5a8c-4fc1-88bb-a3d670cda992","550dc690-4b4b-41c7-a2fb-55ab26c9d2d1");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnList);
            this.BtnList.UIModel = this.Model.ElementID;
            this.BtnList.Action = "ListClick";
	                            _Toolbar.Controls.Add(new UFWebToolbarSeparatorAdapter());
			                            this.BtnFirstPage = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnFirstPage", "True", "True", 35, 28,"15", "",true,false,"f229e163-fcd1-4f6a-a645-df86c0efd8ec","f229e163-fcd1-4f6a-a645-df86c0efd8ec","6dff60fe-0f48-4568-a01f-c6150540b27e");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnFirstPage);
            this.BtnFirstPage.UIModel = this.Model.ElementID;
            this.BtnFirstPage.Action = "FirstPage";
	                            this.BtnPrevPage = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnPrevPage", "True", "True", 35, 28,"16", "",true,false,"5ed368d8-7616-4696-b671-3f1c895f3b43","5ed368d8-7616-4696-b671-3f1c895f3b43","b60d33e1-8eea-4e7d-8add-26d5d7f26924");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnPrevPage);
            this.BtnPrevPage.UIModel = this.Model.ElementID;
            this.BtnPrevPage.Action = "PrevPage";
	                            this.BtnNextPage = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnNextPage", "True", "True", 35, 28,"17", "",true,false,"36afec41-957c-493a-97a4-eddb136af5b4","36afec41-957c-493a-97a4-eddb136af5b4","943d9ee9-fec2-448e-94ae-dd215b6d9e35");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnNextPage);
            this.BtnNextPage.UIModel = this.Model.ElementID;
            this.BtnNextPage.Action = "NextPage";
	                            this.BtnLastPage = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnLastPage", "True", "True", 35, 28,"18", "",true,false,"dc4a37d1-35de-4016-81dd-582aef3cdeb0","dc4a37d1-35de-4016-81dd-582aef3cdeb0","19b3f918-5e66-4ddd-89bd-6c5f86fd010d");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnLastPage);
            this.BtnLastPage.UIModel = this.Model.ElementID;
            this.BtnLastPage.Action = "LastPage";
	                            _Toolbar.Controls.Add(new UFWebToolbarSeparatorAdapter());
			                            this.BtnAttachment = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnAttachment", "True", "False", 35, 28,"20", "",true,false,"92ccef79-ad54-438c-a16e-20a4fd407b97","92ccef79-ad54-438c-a16e-20a4fd407b97","2ba9051f-8e6b-4103-941f-6fb7a3595eb5");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnAttachment);
            this.BtnAttachment.UIModel = this.Model.ElementID;
            this.BtnAttachment.Action = "AttachmentClick";
	                            this.BtnFlow = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnFlow", "True", "False", 35, 28,"21", "",true,false,"e222698c-ae3c-470a-8053-1b69905c510a","e222698c-ae3c-470a-8053-1b69905c510a","cfbd3b8e-6412-478e-a0dd-583c66d8b359");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnFlow);
            this.BtnFlow.UIModel = this.Model.ElementID;
            this.BtnFlow.Action = "FlowClick";
	                            _Toolbar.Controls.Add(new UFWebToolbarSeparatorAdapter());
			                            this.BtnOutput = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnOutput", "True", "False", 35, 28,"23", "",true,false,"688fd549-5a92-49cc-8072-6d5377f6409a","688fd549-5a92-49cc-8072-6d5377f6409a","8a5f6035-493e-4c42-bcec-68aad88cc6e8");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnOutput);
            this.BtnOutput.UIModel = this.Model.ElementID;
            this.BtnOutput.Action = "OutputClick";
	                            this.BtnPrint = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnPrint", "True", "False", 35, 28,"24", "",true,false,"27b5c615-cde5-458c-be74-833317249568","27b5c615-cde5-458c-be74-833317249568","f9738c9e-325a-43e5-8291-afea9945a509");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnPrint);
            this.BtnPrint.UIModel = this.Model.ElementID;
            this.BtnPrint.Action = "PrintClick";
	
            
            ((UFWebToolbarAdapter)_Toolbar).RemoveControls();
        }



	                   
        private IUFCard _BuilderControl_Card0(IUFContainer container)
        {
            IUFCard _UFCard = UIControlBuilder.BuildCard(container,"Card0",false,"FunctionBar", true, true, "3","","01c3b1ab-5a5c-4c93-9397-3b89d32ff8cb");
			CommonBuilder.GridLayoutPropBuilder(container, _UFCard, 992, 25, 0, 2, 1, 1, "100");
            CommonBuilder.ContainerGridLayoutPropBuilder(_UFCard, 22, 1, 0, 5, 10, 3, 10, 2);
			InitViewBindingContainer(this, _UFCard,  null, "", "", null, 1, "");
			UIControlBuilder.BuildContainerGridLayout(_UFCard, 5,new GridColumnDef[]{new GridColumnDef(80,bool.Parse("True")),new GridColumnDef(10,bool.Parse("True")),new GridColumnDef(80,bool.Parse("True")),new GridColumnDef(10,bool.Parse("True")),new GridColumnDef(80,bool.Parse("True")),new GridColumnDef(10,bool.Parse("True")),new GridColumnDef(80,bool.Parse("True")),new GridColumnDef(10,bool.Parse("True")),new GridColumnDef(80,bool.Parse("True")),new GridColumnDef(10,bool.Parse("True")),new GridColumnDef(80,bool.Parse("True")),new GridColumnDef(10,bool.Parse("True")),new GridColumnDef(80,bool.Parse("True")),new GridColumnDef(10,bool.Parse("True")),new GridColumnDef(80,bool.Parse("True")),new GridColumnDef(10,bool.Parse("True")),new GridColumnDef(71,bool.Parse("True")),new GridColumnDef(10,bool.Parse("True")),new GridColumnDef(80,bool.Parse("True")),new GridColumnDef(10,bool.Parse("True")),new GridColumnDef(80,bool.Parse("True")),new GridColumnDef(1,bool.Parse("False")),},new GridRowDef[]{new GridRowDef(20,bool.Parse("True")),});
            this.Card0 = _UFCard;

            ///foreach UFCard下的所有控件，增加到此容器





				this.BtnOk = UIControlBuilder.BuilderUFButton(_UFCard, true, "BtnOk", true, true, 80, 20, 18, 0, 1, 1, "100","", this.Model.ElementID,"OnOk",false,"626ebf9b-f65a-4dd5-8f32-96f84919878c","626ebf9b-f65a-4dd5-8f32-96f84919878c","1a7e1708-5a7b-4148-8d13-1941a84b07fa");
	

		
			UIControlBuilder.BuilderUFControl(this.BtnOk, "9");		


				this.BtnClose = UIControlBuilder.BuilderUFButton(_UFCard, true, "BtnClose", true, true, 80, 20, 20, 0, 1, 1, "100","Z", this.Model.ElementID,"OnClose",false,"020a5365-8f12-4970-b8df-17ce3ae60a68","020a5365-8f12-4970-b8df-17ce3ae60a68","bf2e7cf7-dc4d-49df-9da3-214e93f52477");
	

		
			UIControlBuilder.BuilderUFControl(this.BtnClose, "10");		



		

            
            container.Controls.Add(_UFCard);
            return _UFCard;
        }

	                   
        private IUFCard _BuilderControl_Card2(IUFContainer container)
        {
            IUFCard _UFCard = UIControlBuilder.BuildCard(container,"Card2",true,"none", true, true, "2","cdb7db04-b568-45ac-8c0a-2d34012150ff","055c898a-bade-409d-b08d-9a67cedfdc04");
			CommonBuilder.GridLayoutPropBuilder(container, _UFCard, 992, 421, 0, 1, 1, 1, "100");
            CommonBuilder.ContainerGridLayoutPropBuilder(_UFCard, 12, 17, 0, 5, 10, 0, 10, 0);
			InitViewBindingContainer(this, _UFCard,  this.Model.DocType, "DocType", "", null, 1, "送货单据类型");
			UIControlBuilder.BuildContainerGridLayout(_UFCard, 5,new GridColumnDef[]{new GridColumnDef(153,bool.Parse("True")),new GridColumnDef(5,bool.Parse("True")),new GridColumnDef(153,bool.Parse("True")),new GridColumnDef(20,bool.Parse("True")),new GridColumnDef(152,bool.Parse("True")),new GridColumnDef(5,bool.Parse("True")),new GridColumnDef(152,bool.Parse("True")),new GridColumnDef(20,bool.Parse("True")),new GridColumnDef(152,bool.Parse("True")),new GridColumnDef(5,bool.Parse("True")),new GridColumnDef(152,bool.Parse("True")),new GridColumnDef(1,bool.Parse("False")),},new GridRowDef[]{new GridRowDef(20,bool.Parse("True")),new GridRowDef(20,bool.Parse("True")),new GridRowDef(20,bool.Parse("True")),new GridRowDef(20,bool.Parse("True")),new GridRowDef(20,bool.Parse("True")),new GridRowDef(20,bool.Parse("True")),new GridRowDef(20,bool.Parse("True")),new GridRowDef(20,bool.Parse("True")),new GridRowDef(20,bool.Parse("True")),new GridRowDef(20,bool.Parse("True")),new GridRowDef(20,bool.Parse("True")),new GridRowDef(20,bool.Parse("True")),new GridRowDef(20,bool.Parse("True")),new GridRowDef(20,bool.Parse("True")),new GridRowDef(20,bool.Parse("True")),new GridRowDef(20,bool.Parse("True")),new GridRowDef(19,bool.Parse("False")),});
            this.Card2 = _UFCard;

            ///foreach UFCard下的所有控件，增加到此容器





				this.lblID49 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblID49", "", "False", "True", "Right", 153, 20, 0, 0, 1, 1, "100","cdb7db04-b568-45ac-8c0a-2d34012150ff","42488a64-e12e-4f16-a30e-8f24421a8ea7");


								

		
			UIControlBuilder.BuilderUFControl(this.lblID49, "0");		


				this.ID49 = UIControlBuilder.BuilderNumberControl(_UFCard, "ID49", "False", "False", "True", "Left", 7, 60, 0, 153, 20, 0, 0, 1, 1, NumbericType.Numberic, "100",79228162514264337593543950335m, -79228162514264337593543950335m
			,TextAlign.Right,0,true,false,true,"lblID49","8.0","cdb7db04-b568-45ac-8c0a-2d34012150ff","3ddb860a-5436-4c4d-bcaa-7046ed393bed",null,null,null, null);
			UIControlBuilder.BuilderUIFieldBindingControl(this, this.ID49, "False", "ID", this.Model.DocType, this.Model.DocType.FieldID, "DocType");
	
		
			UIControlBuilder.BuilderUFControl(this.ID49, "1");		
		 

				this.lblSysVersion187 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblSysVersion187", "", "False", "True", "Right", 153, 20, 0, 0, 1, 1, "100","95a40171-1cfc-41b5-bc9e-27859b9204a4","fc26001d-b93b-476b-91f9-5b4ed3a6374a");


								

		
			UIControlBuilder.BuilderUFControl(this.lblSysVersion187, "2");		


				this.SysVersion187 = UIControlBuilder.BuilderNumberControl(_UFCard, "SysVersion187", "True", "False", "True", "Left", 7, 60, 0, 153, 20, 0, 0, 1, 1, NumbericType.Numberic, "100",79228162514264337593543950335m, -79228162514264337593543950335m
			,TextAlign.Right,0,true,false,true,"lblSysVersion187","8.0","95a40171-1cfc-41b5-bc9e-27859b9204a4","15f0585e-0d6b-4a16-ae5f-96d94f4e9b8c",null,null,null, null);
			UIControlBuilder.BuilderUIFieldBindingControl(this, this.SysVersion187, "False", "SysVersion", this.Model.DocType, this.Model.DocType.FieldSysVersion, "DocType");
	
		
			UIControlBuilder.BuilderUFControl(this.SysVersion187, "3");		
		 

				this.Line0 = UIControlBuilder.BuilderUFLine(_UFCard, "Line0", 311, "Horizontal", "True", 311, 20, 0, 0, 3, 1, "100","ac23ca65-1162-4c02-8a1c-2cd33557727e","ac23ca65-1162-4c02-8a1c-2cd33557727e");
	

		
			UIControlBuilder.BuilderUFControl(this.Line0, "4");		


				this.lblCode47 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblCode47", "", "True", "True", "Right", 153, 20, 0, 1, 1, 1, "100","64fcc327-20b3-4e25-9fc8-17d5ab0f2ff1","74c1919c-9924-47e2-b3bd-2e9296f3ba59");


								

		
			UIControlBuilder.BuilderUFControl(this.lblCode47, "5");		


				this.Code47 = UIControlBuilder.BuilderTextBox(_UFCard, "Code47", "False", "True", "True", "False", "Left", 0, 60, 0, 153, 20, 2, 1, 1, 1, "False", "100"
			,"",TextBoxMode.SingleLine,TextAlign.Left, true,false,"lblCode47","","50","64fcc327-20b3-4e25-9fc8-17d5ab0f2ff1","0257118e-4082-48f2-8e3d-8bdcb6704e5f");
			UIControlBuilder.BuilderUIFieldBindingControl(this, this.Code47, "False", "Code", this.Model.DocType, this.Model.DocType.FieldCode, "DocType");


		
			UIControlBuilder.BuilderUFControl(this.Code47, "6");		
		 

				this.lblName85 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblName85", "", "True", "True", "Right", 153, 20, 0, 2, 1, 1, "100","3e260052-100d-4fb2-adda-bd253ec19ca3","9475c290-3403-4f8e-8b9e-c25b9a2823a5");


								

		
			UIControlBuilder.BuilderUFControl(this.lblName85, "7");		


				this.Name85 = UIControlBuilder.BuilderTextBox(_UFCard, "Name85", "True", "True", "True", "False", "Left", 0, 60, 0, 153, 20, 2, 2, 1, 1, "True", "100"
			,"",TextBoxMode.SingleLine,TextAlign.Left, true,false,"lblName85","","50","3e260052-100d-4fb2-adda-bd253ec19ca3","8044f714-db3f-47d6-b77f-9d6823e9da5b");
			UIControlBuilder.BuilderUIFieldBindingControl(this, this.Name85, "False", "Name", this.Model.DocType, this.Model.DocType.FieldName, "DocType");


		
			UIControlBuilder.BuilderUFControl(this.Name85, "8");		
		 

				this.lblDescription97 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblDescription97", "", "True", "True", "Right", 153, 20, 0, 3, 1, 1, "100","47b05360-af56-447e-a52b-bd3f5748387b","6c261cb5-1d56-4269-b5bf-a7e876a6c533");


								

		
			UIControlBuilder.BuilderUFControl(this.lblDescription97, "9");		


				this.Description97 = UIControlBuilder.BuilderTextBox(_UFCard, "Description97", "True", "True", "True", "True", "Left", 0, 60, 0, 153, 45, 2, 3, 1, 2, "True", "100"
			,"",TextBoxMode.MultiLine,TextAlign.Left, true,false,"lblDescription97","","50","47b05360-af56-447e-a52b-bd3f5748387b","0154fbb7-6b78-4115-bac6-9fc1a72e08ef");
			UIControlBuilder.BuilderUIFieldBindingControl(this, this.Description97, "False", "Description", this.Model.DocType, this.Model.DocType.FieldDescription, "DocType");


		
			UIControlBuilder.BuilderUFControl(this.Description97, "10");		
		 

				this.Line1 = UIControlBuilder.BuilderUFLine(_UFCard, "Line1", 311, "Horizontal", "True", 311, 20, 0, 6, 3, 1, "100","04072e06-47cf-4f43-8325-467fa7c543f4","04072e06-47cf-4f43-8325-467fa7c543f4");
	

		
			UIControlBuilder.BuilderUFControl(this.Line1, "11");		


				this.lblBizType124 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblBizType124", "", "True", "True", "Right", 153, 20, 0, 5, 1, 1, "100","ca05908c-7d5a-4269-98c9-0ce7c76015ff","3606bdb2-01e4-429c-b3d6-3c6d777a8240");


								

		
			UIControlBuilder.BuilderUFControl(this.lblBizType124, "12");		


		        this.BizType124 = UIControlBuilder.BuilderDropDownList(_UFCard, "BizType124", "UFIDA.U9.Cust.U9Demo.DeliverBE.BizTypeEnum", true,  true, true, "Left", 2, 60, 0, 153, 20, 2, 5, 1, 1, "100",true,false,"lblBizType124","ca05908c-7d5a-4269-98c9-0ce7c76015ff","9dd7f43e-f5d1-487e-aad4-b377b954dd39");
			UIControlBuilder.BuilderUIFieldBindingControl(this, this.BizType124, "False", "BizType", this.Model.DocType, this.Model.DocType.FieldBizType, "DocType");
			EnumTypeList.Add("UFIDA.U9.Cust.U9Demo.DeliverBE.BizTypeEnum");
			EnumControlsMap.Add(this.BizType124, _UFCard);
		

		
			UIControlBuilder.BuilderUFControl(this.BizType124, "13");		
		 

				this.lblDocHeaderSequenceStyle115 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblDocHeaderSequenceStyle115", "", "True", "True", "Right", 153, 20, 0, 7, 1, 1, "100","45e392d5-704a-44f1-aaac-19c7d95061af","1d8493db-55b7-4579-b6fd-8098e783f8e2");


								

		
			UIControlBuilder.BuilderUFControl(this.lblDocHeaderSequenceStyle115, "14");		


		        this.DocHeaderSequenceStyle115 = UIControlBuilder.BuilderDropDownList(_UFCard, "DocHeaderSequenceStyle115", "UFIDA.U9.Base.Doc.DocHeaderSequenceStyleEnum", false,  true, true, "Left", 2, 60, 0, 153, 20, 2, 7, 1, 1, "100",true,false,"lblDocHeaderSequenceStyle115","45e392d5-704a-44f1-aaac-19c7d95061af","83e03cf7-5752-4311-8143-9c72c940d979");
			UIControlBuilder.BuilderUIFieldBindingControl(this, this.DocHeaderSequenceStyle115, "False", "DocHeaderSequenceStyle", this.Model.DocType, this.Model.DocType.FieldDocHeaderSequenceStyle, "DocType");
			EnumTypeList.Add("UFIDA.U9.Base.Doc.DocHeaderSequenceStyleEnum");
			EnumControlsMap.Add(this.DocHeaderSequenceStyle115, _UFCard);
		

		
			UIControlBuilder.BuilderUFControl(this.DocHeaderSequenceStyle115, "15");		
		 

				this.lblDocHeaderSequence94 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblDocHeaderSequence94", "", "True", "True", "Right", 153, 20, 0, 8, 1, 1, "100","3d824d54-fcf6-4fc9-b82b-ecb0b679aba6","c0bfa34e-37d2-4f0b-9cc1-cd2a98ef2de5");

			UIControlBuilder.SetLabelFormReference(this.lblDocHeaderSequence94,"922bef2b-1cd8-4d51-9413-82d72bebcee7",true,992, 504);
			//foreach input parameter
	    	ScriptBuilder.BuildFormLinkInScript(this.lblDocHeaderSequence94,"lblDocHeaderSequence94", new FormLinkInParam[]{new FormLinkInParam("ID","","Value","lblDocHeaderSequence94",1),new FormLinkInParam("EntityFullName","","","",1), });
			//foreach output set data
	    	ScriptBuilder.BuildFormLinkOutScript(this.lblDocHeaderSequence94,"lblDocHeaderSequence94", new FormLinkOutParam[]{new FormLinkOutParam("ID","","Key","DocHeaderSequence94"),new FormLinkOutParam("Code","","Value","DocHeaderSequence94"),new FormLinkOutParam("Name","","Text","DocHeaderSequence94"),new FormLinkOutParam("EntityFullName","","",""), });
		
								

		
			UIControlBuilder.BuilderUFControl(this.lblDocHeaderSequence94, "16");		


				this.DocHeaderSequence94 = UIControlBuilder.BuilderRefrenceControl(_UFCard,"DocHeaderSequence94",true,true, true,153, 20, 2, 8, 1, 1, "100","17",false,false,true,"lblDocHeaderSequence94","3d824d54-fcf6-4fc9-b82b-ecb0b679aba6","203bf8ac-2865-4822-a6eb-5e9863427e71");
			UIControlBuilder.BuilderUIFieldBindingControl(this, this.DocHeaderSequence94, "False", "DocHeaderSequence", this.Model.DocType, this.Model.DocType.FieldDocHeaderSequence, "DocType");
			UIControlBuilder.SetReferenceControlRefInfo(this.DocHeaderSequence94,"99ee7f41-f68e-4127-8d7f-96b97d2a3371", 580,408, "Name","Code","ID", this.Model.DocType.FieldDocHeaderSequence_Code,this.Model.DocType.FieldDocHeaderSequence_Name);
            //foreach Reference's input filter parameter
            //foreach Reference's output set data, columnID锛屽弬鐓ц繑鍥炲垪鐨凢ieldID
			ScriptBuilder.BuildReferenceControlOuputScript(this.DocHeaderSequence94,"DocHeaderSequence94",new ReferenceOutputParam[]{new ReferenceOutputParam("","ID",""),new ReferenceOutputParam("","Code",""),new ReferenceOutputParam("","Name",""),new ReferenceOutputParam("","Description",""),new ReferenceOutputParam("","EntityType_FullName",""),});
				

		
			UIControlBuilder.BuilderUFControl(this.DocHeaderSequence94, "17");		
		 

				this.Line2 = UIControlBuilder.BuilderUFLine(_UFCard, "Line2", 311, "Horizontal", "True", 311, 20, 0, 9, 3, 1, "100","7820be23-f232-449c-8125-88fde899ae72","7820be23-f232-449c-8125-88fde899ae72");
	

		
			UIControlBuilder.BuilderUFControl(this.Line2, "18");		


				this.lblIsCreatedByPush49 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblIsCreatedByPush49", "", "True", "True", "Right", 153, 20, 0, 10, 1, 1, "100","3c41b5cd-682f-49a7-969d-1385d1adb0f8","28d894b3-fd00-4db3-96db-2ac89da2ff49");


								

		
			UIControlBuilder.BuilderUFControl(this.lblIsCreatedByPush49, "19");		


				this.IsCreatedByPush49 = UIControlBuilder.BuilderUFCheckbox(_UFCard, "IsCreatedByPush49", true, true, "Left", 60, 0, 153, 20, 2, 10, 1, 1, "100",false,"lblIsCreatedByPush49","3c41b5cd-682f-49a7-969d-1385d1adb0f8","69d94e8d-d57a-4fdd-b0ed-e41efa5b058b");
			UIControlBuilder.BuilderUIFieldBindingControl(this, this.IsCreatedByPush49, "False", "IsCreatedByPush", this.Model.DocType, this.Model.DocType.FieldIsCreatedByPush, "DocType");
		

		
			UIControlBuilder.BuilderUFControl(this.IsCreatedByPush49, "20");		
		 

				this.lblConfirmType160 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblConfirmType160", "", "True", "True", "Right", 153, 20, 0, 11, 1, 1, "100","4acdb47a-e401-4411-addd-aa2394e80754","cb237857-0c5e-4ef7-882b-0d0397dfedce");


								

		
			UIControlBuilder.BuilderUFControl(this.lblConfirmType160, "21");		


		        this.ConfirmType160 = UIControlBuilder.BuilderDropDownList(_UFCard, "ConfirmType160", "UFIDA.U9.Base.Doc.ConfirmTypeEnum", false,  true, true, "Left", 2, 60, 0, 153, 20, 2, 11, 1, 1, "100",true,false,"lblConfirmType160","4acdb47a-e401-4411-addd-aa2394e80754","6010657e-62b9-41ca-bd28-d5b8fd41e59f");
			UIControlBuilder.BuilderUIFieldBindingControl(this, this.ConfirmType160, "False", "ConfirmType", this.Model.DocType, this.Model.DocType.FieldConfirmType, "DocType");
			EnumTypeList.Add("UFIDA.U9.Base.Doc.ConfirmTypeEnum");
			EnumControlsMap.Add(this.ConfirmType160, _UFCard);
		

		
			UIControlBuilder.BuilderUFControl(this.ConfirmType160, "22");		
		 

				this.lblApproveType113 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblApproveType113", "", "True", "True", "Right", 153, 20, 0, 12, 1, 1, "100","c9033756-7db9-4df7-8683-a85db1036dda","b95d074f-508c-4d9f-a995-22b66d4e7917");


								

		
			UIControlBuilder.BuilderUFControl(this.lblApproveType113, "23");		


		        this.ApproveType113 = UIControlBuilder.BuilderDropDownList(_UFCard, "ApproveType113", "UFIDA.U9.Base.Doc.ApproveTypeEnum", true,  true, true, "Left", 2, 60, 0, 153, 20, 2, 12, 1, 1, "100",true,false,"lblApproveType113","c9033756-7db9-4df7-8683-a85db1036dda","e52943cf-9ed3-4418-b8f3-4495d2619847");
			UIControlBuilder.BuilderUIFieldBindingControl(this, this.ApproveType113, "False", "ApproveType", this.Model.DocType, this.Model.DocType.FieldApproveType, "DocType");
			EnumTypeList.Add("UFIDA.U9.Base.Doc.ApproveTypeEnum");
			EnumControlsMap.Add(this.ApproveType113, _UFCard);
		

		
			UIControlBuilder.BuilderUFControl(this.ApproveType113, "24");		
		 

				this.Line3 = UIControlBuilder.BuilderUFLine(_UFCard, "Line3", 309, "Horizontal", "True", 309, 20, 4, 0, 3, 1, "100","7505f43e-27e0-4fef-9b29-c663e624e26b","7505f43e-27e0-4fef-9b29-c663e624e26b");
	

		
			UIControlBuilder.BuilderUFControl(this.Line3, "25");		


				this.lblEffective_IsEffective136 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblEffective_IsEffective136", "", "True", "True", "Right", 152, 20, 4, 1, 1, 1, "100","5e46a84b-3fa3-4b04-97e6-cbe56210371d","5e46a84b-3fa3-4b04-97e6-cbe56210371d");


								

		
			UIControlBuilder.BuilderUFControl(this.lblEffective_IsEffective136, "26");		


				this.Effective_IsEffective136 = UIControlBuilder.BuilderUFCheckbox(_UFCard, "Effective_IsEffective136", true, true, "Left", 60, 0, 152, 20, 6, 1, 1, 1, "100",false,"lblEffective_IsEffective136","4ff0531b-e7c2-4f34-93d4-ece61e53fa89","a9d7e01b-43f9-469d-b93b-de382e8a3e08");
			UIControlBuilder.BuilderUIFieldBindingControl(this, this.Effective_IsEffective136, "False", "Effective_IsEffective", this.Model.DocType, this.Model.DocType.FieldEffective_IsEffective, "DocType");
		

		
			UIControlBuilder.BuilderUFControl(this.Effective_IsEffective136, "27");		
		 

				this.lblEffective_EffectiveDate143 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblEffective_EffectiveDate143", "", "True", "True", "Right", 152, 20, 4, 2, 1, 1, "100","d3cc3bbf-ce79-4a1d-ab16-e417ce08f753","d3cc3bbf-ce79-4a1d-ab16-e417ce08f753");


								

		
			UIControlBuilder.BuilderUFControl(this.lblEffective_EffectiveDate143, "28");		


				this.Effective_EffectiveDate143 = UIControlBuilder.BuilderDatePicker(_UFCard, "Effective_EffectiveDate143", true, true, true, "Date","Left", 3, 60, 0, 152, 20, 6, 2, 1, 1, "100",true,false,"lblEffective_EffectiveDate143","623da872-ab58-4ef9-b575-9c49487d72c3","baeebc56-68f9-441a-88ea-eaf80d0bf401");
			UIControlBuilder.BuilderUIFieldBindingControl(this, this.Effective_EffectiveDate143, "False", "Effective_EffectiveDate", this.Model.DocType, this.Model.DocType.FieldEffective_EffectiveDate, "DocType");


		
			UIControlBuilder.BuilderUFControl(this.Effective_EffectiveDate143, "29");		
		 

				this.lblEffective_DisableDate201 = UIControlBuilder.BuilderUFLabel(_UFCard, "lblEffective_DisableDate201", "", "True", "True", "Right", 152, 20, 4, 3, 1, 1, "100","41517a31-b568-40fe-849c-6ddf76256c13","41517a31-b568-40fe-849c-6ddf76256c13");


								

		
			UIControlBuilder.BuilderUFControl(this.lblEffective_DisableDate201, "30");		


				this.Effective_DisableDate201 = UIControlBuilder.BuilderDatePicker(_UFCard, "Effective_DisableDate201", true, true, true, "Date","Left", 3, 60, 0, 152, 20, 6, 3, 1, 1, "100",true,false,"lblEffective_DisableDate201","e8953c04-f948-4fe7-a2f4-808ac0df687d","717204ac-a38f-43be-8fe3-bc44ea95793f");
			UIControlBuilder.BuilderUIFieldBindingControl(this, this.Effective_DisableDate201, "False", "Effective_DisableDate", this.Model.DocType, this.Model.DocType.FieldEffective_DisableDate, "DocType");


		
			UIControlBuilder.BuilderUFControl(this.Effective_DisableDate201, "31");		
		 


																		
			this.DocHeaderSequence94.IsMultiOrg  = false ;
			this.lblDocHeaderSequence94.SetMultiOrgInfo(this.DocHeaderSequence94,false);
			
														

            
            container.Controls.Add(_UFCard);
            return _UFCard;
        }

				





		#endregion
		

	}
}
